package com.dtx.qiku.goods.service;


import com.dtx.qiku.goods.entity.User;

import java.io.IOException;

public interface UserService {

    public boolean register(User user) throws IOException;

    public boolean login(String userName,String password) throws IOException;

    /**
     * 查看当前登录的用户信息
     * @return
     * @throws IOException
     */
    public User personal() throws IOException;
}
